F-distribution & F-Test

F-distribution (F-ratio)

X=S1/d1S2/d2

where S1 and S2 are independent random variables with Chi-square Test#Chi-square distribution with respective degrees of freedom d1 and d2.

F-test

Any test that uses the F-distribution can be called a "F-test".
Generally, F-test can compare two variances.

Overall F-test for Regression Analysis

An overall F-test assesses how well the set of independent variables, as a group, explains the variation in the dependent variable. That is, the F-statistic is used to test whether at least one of the independent variables explains a significant portion of the variation of the dependent variable.
F = MSM / MSE = (explained variance) / (unexplained variance)
where MSM stands for Mean Squares for Model, and MSE stands for Mean Squares for Error.

F=(y^iy¯)2k(y^iyi)2nk1

where k is the number of independent variables , and n is the number of observations.

F-test for ANOVA

F = MSB / MSE
where MSB stands for Sum of Squares between the groups, and MSE stands for The Error Mean Sum of Squares

F=SSbetweenm1SSwithinnm

where m is the number of groups, and n is the number of observations (data points).

F-test for compare two models

The F-test can be used to compare two competing regression models in their ability to “explain” the variance in the dependent variable.

F=RSS1RSS2k2k1RSS2nk2

where RSS stands for residual sum of squares of fitted model 1 or 2, and k stands for degree of freedoms.